Model caching — references object in Model's cache on prototype and references where IDs match

Ref #11695799991476