But I think you have to memorize.
The halogenes form Ions like XOn- X = Cl, Br, I, n = 1-4
Iodine also have higher oxygen numbers
The One what you mentioned has the number 3. Its not logical so you have to learn und remember it. The Charge of all Halogen ions is -1.