Create method to generate cache key

When i send a data to fetch a collection or model, i need to be cached with a diferent key.