The pH of microscopic vesicles (compartments) in living cells can be estimated by infusing an indicator (HIn) into the compartment and measuring the quotient [In]/[HIn] from the spectrum of the indicator inside the vesicle. Explain how this tells us the pH.