$ref->scope()
Returns the entity performing the reference. The returned entity is an object in the Understand::Ent class.