A Cherenkov particle identifier for relativistic heavy ions