Making it possible to look up references by set and by name, since ReferenceSet no longer has a whole list of IDs