Correct use of capitals in "ID" for "identity"

This has been bugging me for some time:

When you use the abbreviation “ID” to mean “identity” is the correct form “Id” or “ID”?

I’ve generally used “ID” in the past, but I’ve recently moved jobs and the local coding standards use “Id” for everything.

It grates on me for some reason - I keep thinking it’s referring to the Freudian subconscious.

I’ve googled around this for a while, but found nothing that addressed it directly. A search of the board hasn’t turned up anything either, so I’m going straight to the source.

Any help greatly appreciated.

Identity Documentation.

That’s what I thought, anyway.

…In which case ID would be correct.

However, the term ID has become synonymous with ‘Identity’ - in programming, entities (such as records in a table) can have an ID that isn’t really anything to do with documentation.

You capitalize. It’s an ID, not an Id.

The two are quite different. Just ask Freud. :slight_smile:

Jokes aside, without capitalization, there could be confusion.

Thanks for the responses.

Seems things are pretty much the way I thought (i.e. They’re wrong and I’m right, as usual :smiley: )