udunits/src/main/java/ucar/units/UnitID.java
public static UnitID newUnitID(final String name, final String plural,
			final String symbol) {
		UnitID id;
		try {
			id = name == null
					? new UnitSymbol(symbol)
					: UnitName.newUnitName(name, plural, symbol);
		}
		catch (final NameException e) {
			id = null; // can't happen
		}
		return id;
	}
public static UnitID newUnitID(final String name, final String plural,
			final String symbol) {
		UnitID id;
		try {
			id = name == null
					? new UnitSymbol(symbol)
					: UnitName.newUnitName(name, plural, symbol);
		}
		catch (final NameException e) {
			id = null; // can't happen
		}
		return id;
	}
Factory method for constructing an identifier from a name, plural, and
symbol.

@param name
The name for the unit. May be <code>null
</code>.
@param plural
The plural form of the name. If <code>null
</code> and
<code>name</code> is non-<code>
null</code>, then regular
plural-forming rules are used on the name.
@param symbol
The symbol for the unit. May be <code>null
</code>.