Add a basic `cache_key` method to `ActiveRecord::Base` subclasses for easy collection fragment caching.