support for attributes
"id" replaced with *_id as 29002-6 describes
added ontology test cases