A mixture of metal ions in a solution can be separated by precipitation with anions such as Cl−Cl−\ce{Cl-}, Br−Br−\ce{Br-}, SO2−4SO42−\ce{SO4^2-}, CO2−3CO32−\ce{CO3^2-}, S2−S2−\ce{S^2-}, Cr2O2−4Cr2O42−\ce{Cr2O4^2-}, PO2−4PO42−\ce{PO4^2-}, OH−OH−\ce{OH-} etc.
What is the fundamental principle that allows these anions to separate different metal ions?"