Tagged mass-spectrometer