Yes, K+ is a potassium ion, and Mg2+ is a magnesium ion. But However, when non-metallic elements gain the electrons to form anions, Yes the end of their name is changed to “-ide.” and yes the example, a fluorine atom gains one electron to become a yes fluoride ion (F-) sooo yeessyes