Potassium cyanide is an ionic compound. The potassium ion will be a “spectator ion” in this reaction. The cyanide ion is the nucleophile in the reaction. The carbon atom of the cyanide ion has a negative formal charge and will be the atom that attacks the carbon atom of bromomethane.