How to generate unique id in java. Any guidance appreciated, thanks. g....