M.J.
It can be hard to tell. Usually, I'll know when I tell our son to stop doing something that's annoying and he says he can't help it. Other times, I'll notice that he's doing the same thing repeatedly. He's never doing the actions to get a reaction from anyone (for instance, he doesn't laugh back if someone laughs at what he's doing). Snapping fingers and clapping are ones we've seen. Our son also has hand movements, facial tics, a throat clearing tic and a jumping tic. It tends to shift over time.
In your situation (assuming you're a teacher?), you might just email the parents to mention behaviors you're noticing in class and ask if it's a tic. I would gladly tell the teacher what I think is/is not a tic with our son. I'd much rather her ask than bench our son at recess for annoying behavior he can't control in class.