udunits/src/main/java/ucar/units/UnitDBImpl.java
public Unit get(final String id) {
		Unit unit = getBySymbol(id);
		if (unit == null) {
			unit = getByName(id);
		}
		return unit;
	}
public Unit get(final String id) {
		Unit unit = getBySymbol(id);
		if (unit == null) {
			unit = getByName(id);
		}
		return unit;
	}
Gets a unit by either name, plural, or symbol. Retrieving the unit by
symbol is attempted before retrieving the unit by name because symbol
comparisons are case sensitive and, hence, should be more robust.

@param id
The id to be matched.
@return The unit whose name, plural, or symbol matches or
<code>null</code> if no such unit was found.