change return types to work more generally with OWLOntologyID