Generating a unique value for a chat id