Acid salts and the structure of ionomers