I'd change `ids` to `layerSpecs`.