Context and conformation dictate function of a transcription antitermination switch