saner id generation for collections