Dicationic intermediates involving protonated amides: dual modes of reactivity including the acylation of arenes.