I've been bulk adding objects today, and have come up with this method:
If you use:
<dtml-call "REQUEST.set('id',_.str(_.int(1000000*_.DateTime().second())))">
Then you will have an id unique to 1 millionth of a second.
If this is still not good enough then you can do 10,000,000, etc.
-Ed