Weak Bases and the Ka–Kb–Kw Connection