tie the cache key to a digest of the sample ids