Text this: The thermionic diode as detector in the laser spectroscopy of atoms