Refs by links: Implemented refs as links for EntityWithSources

Maybe not necessary because `Group::objectName(size_t) ` now throws an exception.