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

* incl. new init_internal_schema.sql script (+ generation via code)
Do we really need constants even for attribute paths? I'm not sure, whether reuse is worth this.