To me, the 1st one ("Id") is correct, as "Id" and "ID" are abbreviations of "identifier". The correct one is "Id". "ID" appears to be an acronym of two words, though there is only one word, "identifier". Can anyone please shed some light on the issue? ID can be a shortened form of other words/phrases besides identifier. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.