Ionization detector for gas chromatography with switchable selectivity for carbon, nitrogen and phosphorus