mage get all ids