Compose key with cache id