Builds a codec for representing a Unit value.
Unit
default codec for Unit.
human readable identifier used in error messages.