Unique Id generator inspired by mongodb object id