Tag quaternization reaction