Add a whereIds() method closes #3