Use taxes.ids (feature of new API), as suggested by yvaucher