Identifier to id can be cached after clearing.