assert_unit function

Assert that a value may either be a column name in the data (first) or a single unit value (second)