Functional group effects in the chemistry of gas-phase alkali ions