generate the name of an ontology out of the iri.