Not to mention the issue of robbery, assualt and rape. In Scottish cities, there are two types of cars: taxis (black cabs) and private hire cars. A taxi can pick you up off the street, a private hire car can only collect you from a pre-booked address. Outside of cities, there is only generally one category, which is called a taxi, but can only pick up from taxi ranks or pre-booked addresses. Both currently need to have clear markings, but in the old days there was only mandatory marking on black cabs (the ones you can hail from the street).
It wasn't unheard of for unlicensed (or just unscrupulous) operators to use a radio scanner to intercept dispatch messages and steal fares from the licensed companies. It also wasn't unheard of for these firms to be part of crime gangs, so it wasn't unheard of for people to be robbed by the driver. Things took a turn for the sinister when a lone nutter got hold of a radio scanner and started targetting dispatches for women, and when he liked the woman he picked up... well, it doesn't take much to imagine what he did.
That's why we put in laws mandating clear marking for all cars-for-hire. Even if you got picked up by the wrong person, it would still have to be a licensed driver, making the pool of suspects much smaller. Taxi drivers still occassionally go off the rails, but they're easy to track down, as they're all on file.