add debug logging for cache hits and misses from identity map
identity map refactor and added identity map to collections