Also moves related constants into the class to make them accessible for tests.
value_id_from_string()