Assing atom ID after performing the simulation

Sorry, that first mail got screwed up.
I don’t know how you did calculations without atom IDs, since in your
data file there should always be an atom ID for every atom.
If you just want numbers in your trajectory file, add them with a script.