How do you calculate the pH of abase?