You can use the uuid module in Python to generate a globally unique identifier (GUID), also known as a universally unique identifier (UUID).
In PHP, you can use the function uniqid() to generate a short unique ID.