Is a polyatomic ion a compound or an ion?