Excitation, ionization, and spectral line emission in the inductively coupled plasma