Ion binding and the formation of insoluble polymethacrylic salts