Are you talking about the Document IDs from the Media Management Schema (xmpMM:DocumentID)? If so, those are generated by the CS apps, usually on Save/Save As.. commands, and are designed really to be used by DAM systems.
See the XMP Specifcation on Page 43. It discusses the MM Schema.
Hope that helps.
Cheers,
-Andrew