Don't calculate uniqid() each time shelve() is called.

Its faster to just append index to pre-generated
UID, and does the exact same job.