Enable identity map locally within a unit of work.

Enable the identity map locally for a unit of work. This lets you use `incudes` to do eager loading for a single query without enabling identity map globally.

Fixes https://github.com/mongoid/mongoid/issues/3172.