A RICH detector for hadron identification at JLab