def get_ioos_def(self, ident, elem_type, ont):
if elem_type == "<STR_LIT>":<EOL><INDENT>getter_fn = self.system.get_identifiers_by_name<EOL><DEDENT>elif elem_type == "<STR_LIT>":<EOL><INDENT>getter_fn = self.system.get_classifiers_by_name<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>".format(elem_type))<EOL><DEDENT>return DescribeSensor.get_named_by_definition(<EOL>getter_fn(ident), urljoin(ont, ident)<EOL>)<EOL>
Gets a definition given an identifier and where to search for it