When you name ionic compounds, you write the name of the metal first and then the nonmetal. Suppose that you want to name the compound that results from the reaction of lithium and sulfur. You first write the name of the metal, lithium, and then write the name of the nonmetal, adding an -ide ending so that sulfur becomes sulfide.
Ionic compounds involving polyatomic ions follow the same basic rule: Write the name of the metal first, and then simply add the name of the nonmetal (with the polyatomic anions, it is not necessary to add the -ide ending).