With reference to a given (possibly implicit) set of objects, a unique identifier (UID) is any identifier which is guaranteed to be unique among all identifiers used for those objects and for a specific purpose. There are three main types of unique identifiers, each corresponding to a different generation strategy:
- serial numbers, assigned incrementally
- random numbers, selected from a number space much larger than the maximum (or expected) number of objects to be identified. Although not really unique, some identifiers of this type may be appropriate for identifying objects in many practical applications and are, with abuse of language, still referred to as "unique"
- names or codes allocated by choice which are forced to be unique by keeping a central registry such as the EPC Information Services.
The above methods can be combined, hierarchically or singly, to create other generation schemes which guarantee uniqueness.
In many cases, a single object may have more than one unique identifier, each of which identifies it for a different purpose.
In relational databases, certain attributes of an entity that serve as unique identifiers are called primary keys.
Read more about Unique Identifier: Examples
Famous quotes containing the word unique:
“When the object is perceived as particular and unique and not merely the member of a family, when it appears independent of any general notion and detached from the sanity of a cause, isolated and inexplicable in the light of ignorance, then and only then may it be a source of enchantment.”
—Samuel Beckett (19061989)