sub schema (SchemaAttributePathInstance) domain model extension + test re-factoring

* incl. new init_internal_schema.sql script (+ generation via code)
yepp, but both of them are useful. in general, the amount of those methods and identifiers is rather small (< 10). so both approaches are applicable.