This is a union of all known PeerId types - use the .type field to disambiguate them