Added first pass implementation of UnitMap to map dimensions to the preferred units for them.
Implemented querying of UnitMap.