Here's a breakdown:
* Magnesium (Mg): Magnesium only forms one stable cation, Mg2+. Therefore, the name directly reflects its composition: magnesium chloride.
* Copper (Cu): Copper can form two stable cations: Cu+ (copper(I)) and Cu2+ (copper(II)). To distinguish between the two, Roman numerals are used in the name to indicate the oxidation state of the copper ion. In CuCl2, copper exists as Cu2+, hence the name copper(II) chloride.
In summary:
* For metals that form only one stable cation, the name is straightforward.
* For transition metals that can form multiple cations, Roman numerals are used in the name to specify the oxidation state of the metal ion.