How to tell if something is an acid or base