ampholyte

noun

1.
A substance that acts as a base or an acid, depending on the pH of the solution into which it is introduced.