Reactions of NaOH with metal ions