This is to help prep for @poteto's renaming PR. To make that PR work we generally need to use IdentifierId to distinguish "the same identifier" rather than Identifier object identity.