Allow cache id to be set