Proposal for LCG-based ID generator

Consider this LCG-based generator for your ids, as it provides stable, convertible to decimal (and thus easily and compactly persistable) and unique values across whole LCG boundaries.

More info: http://en.wikipedia.org/wiki/Linear_congruential_generator