Changed OntologyInterface to not return attribute domain and name if created (because we know it).
Use ugly pointer stuffing (only working for 64 bit machines) to get rid of previously necessary object on the heap.