Identifying Ions based on Electron Configuration