From what reaction do we measure the ionization energy of an element?