This is easily solved by Uber or Lyft assigning their own ID to their drivers and putting it on the sticker that usually goes in their windshield. That is, if this is an actual problem and not one being made up so the police can maintain a revenue stream.