withIds(ids)

The resulting selector can be further refined by applying additional conditions to it.
The ID-based condition will then be AND-ed together with all the other conditions, including
any other ID-based conditions. So, for instance, the following selector: