Generating unique IDs in a distributed environment at high scale