Unit measurement function.
Unit measurement for LCA preprocess and query.