avoid referencing ids in cache flushes when the id is not known