# Functions
ForComparison takes a user-specified hostname and returns a normalized form of it suitable for storage and comparison.
ForDisplay takes a user-specified hostname and returns a normalized form of it suitable for display in the UI.
IsValid returns true if the given user-specified hostname is a valid service hostname.
# Type aliases
Hostname is specialized name for string that indicates that the string has been converted to (or was already in) the storage and comparison form.