Complex ions and their effect on solubility