A unique identifier (UID) is an
identifier that is guaranteed to be unique among all identifiers used for those objects and for a specific purpose.
The concept was formalized early in the development of
computer science
Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
and
information system
An information system (IS) is a formal, sociotechnical, organizational system designed to collect, process, Information Processing and Management, store, and information distribution, distribute information. From a sociotechnical perspective, info ...
s. In general, it was associated with an
atomic data type.
In
relational database
A relational database (RDB) is a database based on the relational model of data, as proposed by E. F. Codd in 1970.
A Relational Database Management System (RDBMS) is a type of database management system that stores data in a structured for ...
s, certain attributes of an
entity
An entity is something that Existence, exists as itself. It does not need to be of material existence. In particular, abstractions and legal fictions are usually regarded as entities. In general, there is also no presumption that an entity is Lif ...
that serve as unique identifiers are called ''
primary keys''.
In mathematics,
set theory
Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
uses the concept of ''
element indices'' as unique identifiers.
Classification
There are some main types of unique identifiers,
each corresponding to a different generation strategy:
#
serial number
A serial number (SN) is a unique identifier used to ''uniquely'' identify an item, and is usually assigned incrementally or sequentially.
Despite being called serial "numbers", they do not need to be strictly numerical and may contain letters ...
s, assigned incrementally or sequentially, by a central authority or accepted reference.
# 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 informal use of language, still referred to as "unique"
##
Hash function
A hash function is any Function (mathematics), function that can be used to map data (computing), data of arbitrary size to fixed-size values, though there are some hash functions that support variable-length output. The values returned by a ...
s: based on the content of the identified object, ensuring that equivalent objects use the same UID.
##
Random number generator: based on random process.
# names or codes allocated by choice which are forced to be unique by keeping a central
registry such as the
EPC Information Services.
# names or codes allocated using a regime involving multiple (concurrent) issuers of unique identifiers that are each assigned mutually exclusive partitions of a global address space such that the unique identifiers assigned by each issuer in each exclusive address space partition are guaranteed to be globally unique. Examples include (1) the media access control address
MAC address uniquely assigned to each individual hardware network interface device produced by the manufacturer of the devices, (2) consumer product bar codes assigned to products using identifiers assigned by manufacturers that participate in
GS1 identification standards, and (3) the unique and persistent
Legal Entity Identifier assigned to a legal entity by one of the LEI registrars in the Global Legal Entity Identifier System (GLEIS) managed by the Global LEI Foundation (GLEIF).
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.
Examples
*
Electronic Identifier Serial Publication (EISP)
*
Electronic Product Code (EPC)
*
International eBook Identifier Number (IEIN)
*
International Standard Book Number (ISBN)
*
National identification number
*
Amazon Standard Identification number
*
Part number
A part number (often abbreviated PN, P/N, part no., or part #) is an identifier of a particular part design or material used in a particular industry. Its purpose is to simplify reference that item. A part number unambiguously identifies a part ...
* Radio
call signs
*
Stock keeping unit (SKU)
*
Track and trace
National identification number
National identification number is used by the
government
A government is the system or group of people governing an organized community, generally a State (polity), state.
In the case of its broad associative definition, government normally consists of legislature, executive (government), execu ...
s of many countries as a means of tracking their
citizen
Citizenship is a membership and allegiance to a sovereign state.
Though citizenship is often conflated with nationality in today's English-speaking world, international law does not usually use the term ''citizenship'' to refer to nationality ...
s,
permanent residents, and temporary residents for the purposes of work,
taxation, government
benefits,
health care
Health care, or healthcare, is the improvement or maintenance of health via the preventive healthcare, prevention, diagnosis, therapy, treatment, wikt:amelioration, amelioration or cure of disease, illness, injury, and other disability, physic ...
, and other governance-related functions.
Chemistry
*
CAS registry number
*
IUPAC nomenclature
Computing
*
Cryptographic hashes
*
Identity correlation
*
MAC address
*
Object identifier (OID)
*
Organizationally unique identifier (OUI)
*
Universally unique identifier (UUID) or globally unique identifier (GUID)
*
World Wide Port Name
Economics, tax and regulation
*
Harmonized System
*
Payment card number
*
Unique Transaction Identifier (UTI)
*
Universal Product Code
Internet architecture and standards
*
Best Current Practice (BCP)
*
For Your Information (FYI)
*
Internet Draft (I-D)
*
Internet Experiment Note (IEN)
*
Internet Standard (STD)
*
Request for Comments
A Request for Comments (RFC) is a publication in a series from the principal technical development and standards-setting bodies for the Internet, most prominently the Internet Engineering Task Force (IETF). An RFC is authored by individuals or ...
(RFC)
*
RARE Technical Reports (RTR)
Legal
*
Bates numbering
Bates numbering (also known as Bates stamping, Bates branding, Bates coding or Bates labeling) is a method of sequentially Pagination, numbering pages with a reference number. A hand-operated Bates numbering device is used to "stamp" a number on ...
*
European Case Law Identifier (ECLI)
*
Gun serial number
*
Legal Entity Identifier (LEI)
*
Lex (URN)
Mathematical publications
*
Mathematical Reviews number
*
Zentralblatt MATH identifier
Research / Science
*
Archival resource keys
(ARK), with 8.2 billion ARKs issued.
*
Digital object identifiers
(DOI), with 200 million DOIs issued.
*
Identifiers.org
*
ORCID (Open Researcher and Contributor ID)
*
Smithsonian trinomial
*
Systematic name
Transportation
* American rail transportation
Reporting marks
*
IMO number to identify sea-going ships
*
International Air Transport Association airport codes
*
IMO container codes according to
ISO 6346 for shipping containers
*
License plate number
*
Maritime Mobile Service Identity (MMSI)
*
UIC wagon numbers
See also
*
Numbering scheme
References
{{reflist
Names