clarify the identifier when loading from the disk cache

Instead of duplicating parts of `setIdentifier:`, allow it to take a parameter that controls its behavior so it can be used in all contexts.