Close #4 Add better support for referenced EVs/ECs

This commit makes it possible to reference both EVs and ECs where the
entity name differs from the EV/EC name