Fixing inherited "of" for a scoped reputation

When you have a scoped reputation which inherits from another reputation, the :of attribute is not inherited if it's not a procedure. This commit fixes this.