how should i program unique Id to GPS devices without changing firmare

hi,
I'm using arduino atmega interfaced with GPS system ,I have 100 vehicles and each should have unique Id's .so , what i want is i should change the code every time to change Id for each vehicle but id should assign to each system without changes the firmare .

thank you

what i want is i should change the code every time to change Id for each vehicle but id should assign to each system without changes the firmare .

What firmware are you talking about?

You could have one sketch that writes a value to EEPROM, and then another sketch that is on the deployed Arduino that reads the EEPROM value to "know" who it is.

If you do not care what the ID is, but it must be unique, you can use the date and time of the compile.

This means that you have to recompile before each upload, but if you use the IDE for upload, that happens anyway.

thank you all,i am using Integers values as IDs .