Formation of Ions in Metals