Anion-catalyzed ester aminolyses in a hydrocarbon solvent