I have several kinds of identifiers in my Windows desktop application. A batch identifier, a job identifier and so on. Each identifier is a unique positive integer, the value has no meaning but to identify a batch, a job, etc. These identifier are displayed in a table. The question now is how to name the columns? In order to get narrow columns I need to shorten "Batch Identifier".

As a non-native english speaker I searched the WEB and I don't get a clear Picture whether "Batch Id" oder "Batch ID" is the right way. Or is there even no right way and both versions are ok?

  • 2
    Id looks a lot like ld, in fonts where capital "i" is very similar to "l" can be confusing. Also, I either see "id" or "ID". Can't remember when I've last seen "Id". – user1306322 Jan 25 '14 at 11:08
  • 1
    Or jus use Batch - especially if the column names are known to be shortened – user151019 Jan 25 '14 at 13:38
  • Poke English Language & Usage – msanford Apr 7 '17 at 21:09

"ID" means "identification." Use that.

"Id" means something different from ID. (Hint: it's Freudian.)


Camel case does not apply to this because Camel case is a style method for programming. You are asking about how to abbreviate an English term. The proper use is ID; never Id.

Unfortunately, this question should be asked on another stackexchange involving such topics where the fuller explanation will be made evident.


When you have two letters, both should be upper case. When you have three, only the first one should be upper case.

This means that BatchID is correct and BatchId is incorrect.

Reference:Camel Casing

  • 1
    Those rules apply to acronyms, but id is an abbreviation for identifier, not an acronym. – Ben Voigt Jan 25 '14 at 19:17
  • 1
    @BenVoigt The problem of English is that you distinguish these two :p In Czech, we do not make this distinction, and we're happily living. – yo' Jan 26 '14 at 13:21
  • 1
    Sorry for confusion, I meant the distinction between acronyms and abbreviations. We don't have that, we call them by the same word. And whatever rules apply to acronyms, they apply to abbreviations as well ;) – yo' Jan 26 '14 at 18:02
  • 2
    Um, because the question doesn't ask anything about camel case or programming variables, I think this answer is misleading. "ID" as a word is correct not because it has only two letters, it's correct because that's the accepted short form of "identification." – Ken Mohnkern Mar 22 '16 at 20:33
  • 1
    There are different naming conventions, and they prefer different choices. So you can't declare on of them as universally incorrect. Either choice can be correct, as long as it conforms to the convention you chose. I for one avoid ID (or XML), since it doesn't allow reliable splitting of an identifier into its constituent parts. getElementById is an example in a popular language (though it doesn't apply the rule consistently, e.g. it uses XML not Xml. – CodesInChaos Mar 23 '16 at 8:45

This has been discussed earlier here

To summarize though:

BatchID, and JobID, might look nice, but if your using Camel Casing you're just as likely to run into something like:

IDAnalytics and IDValidation etc...

Which as objective as the issue may be I believe is very ugly, and can lead to legibility issues in the future.


From https://stackoverflow.com/questions/1151338/id-or-id-on-user-interface, specifically https://stackoverflow.com/a/1151345/881441:

According to Merriam-Webster, the abbreviation is "ID". If it were a correct abbreviation, it would have to be "Id." with the period.


It should be Id and Ok, but DB and IO according to the Microsoft naming convention:


  • That link suggests otherwise. "In Pascal-cased identifiers they should appear as Id, and Ok". 'Identifier' isn't ever going to be in Pascal-case because it is a single word. – JonW Nov 7 '16 at 11:49
  • They make a difference in abbreviations vs acronyms. – nicojs Nov 7 '16 at 11:58
  • They make a difference in abbreviations vs acronyms. It states that ID is an abbreviation and not an acronym, hence the acronym rules do not apply. It also states that The identifier casing rules take precedence over acronym casing rules.. Further more it is specified that in a Pascal-case word it should be Id. My interpretation is that it should be Id. Others in my company agree with me. Keep in mind that this is just the microsoft naming convetion. – nicojs Nov 7 '16 at 12:09
  • "The two abbreviations that can be used in identifiers are ID and OK" - Your link – Andy Mercer Feb 1 '18 at 16:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.