Provides a human-readable fallback wherever a resource must be shown but no label is at hand. The label is taken from
the fragment or the last path segment, so vocabulary terms are named after themselves. Primary topic markers such as
#this or #id are skipped, so a resource described by a document is named after that document. Camel, kebab and
snake case are split into capitalised words, and digits stay attached to the word they follow.
Important
Never use labels as identifiers, since distinct resources may share the same label.
Derives a readable label from an identifier.
Provides a human-readable fallback wherever a resource must be shown but no label is at hand. The label is taken from the fragment or the last path segment, so vocabulary terms are named after themselves. Primary topic markers such as
#thisor#idare skipped, so a resource described by a document is named after that document. Camel, kebab and snake case are split into capitalised words, and digits stay attached to the word they follow.Never use labels as identifiers, since distinct resources may share the same label.