Particle identification methods in high-energy physics