getDefinitionById public