A flame test on NaCl produces an intense orange-yellow color. A sodium vapor street lamp (using elemental sodium) produces the same color. How is it that the energy of the electronic transition is the same when in one case the source of the sodium is the ion and in the other case when the source is the element?