Use attributes that are guaranteed to exist in models for generation of cache key