fix: overhaul - lookup of behaviors at several places unified and sane usage of interface (schema) and marker

Fix (security): Attribute access to schema fields can be protected. This worked for direct schemas, but was not implemented for permissions coming from behaviors.
good point, I will change this