Just remember:
Carbonate (CO3) is 2-
Sulfate (SO4) is 2-
Phosphate (PO4) is 3-
Hydroxide (OH) is 1-
Ammonium (NH4) is 1+
Nitrate (NO3) is 1-
And the rest can easily be worked out using the periodic table.
Sorry for the late reply, and seeing as though its Tuesday, this might be useless...