I suppose @simaob meant that different taxonomies might have different common names for classes (or, potentially, even different classes); so I suppose you should get the classes per taxonomy to avoid trouble.