Throw exception if invalid vocabulary is used.
Allow human-readable vocabulary names to be used.