A unique identifier (UID) is a numeric or alphanumeric string that is associated with a single entity within a given system. Unique identifiers can be assigned to anything that needs to be distinguished from other entities, such as individual users, companies, machines or websites.