The minus in the exponent is shorhand for -1, which is the net charge of the ion (due to the extra electron to the normal shell configuration 'melted' into the triple bond b/w C and N). It's an exponent and nothing more. I believe that the convention to write CN- and not NC- is due to another convention: namely that if you can decompose a molecule into ionic parts, the positive ion is written on the LHS, the negative on the right. That's why you don't write (OH)2 Ca but the reverse. And of course to this convention of positioning the ions as a whole you add the convention to place the element which needs electrons to obtain the octet to the left and the 'neutral' elements to the right of the ion. So it's Ca (OH)2 and not Ca (HO)2. This of course, if you picture chemistry in terms of GN Lewis's model of 1916.
Elementary (i.e. non-quantum) chemistry contains conventions which may not seem obvious.