test_identifiers: Make sure that {directory,revision,release,snapshot}_identifier() doesn't just return a value from the dict.
For example, before this commit, you could replace the code of
revision_identifier() with this:
def release_identifier(release):
return release.get("id", b"")
and all tests would still pass.