It is a matter of solubility product (the lower, the better), the form of the precipitate (it has to be easy to filter), and properties of the substance - it needs to be easy to dry out to constant mass without decomposition. Apparently Mg2P2O7 has these properties.