Allow defining a resource a property reference

#227
`'Property is not defined as resource, thus the referenced entity appears as an ID.'`