The hydrolysis of metal ions