use a hash of the template as the cache key in the case that baseNamePath isn't set