This kind of sentiment comes up a lot, and I am sorry, I find it kind of revolting.
There is this notion that cabbies are discriminating against the downtrodden, but in reality, they are the downtrodden. They are low-income, immigrant people who, unlike you, actually live in those outer boroughs. People who need money so badly that they will drive a cab for a living.
You, on the other hand, are a wealthy dude. A dude with so much disposable income that you can throw $20-$40 at a cab instead of taking the subway for free. (Free as in, you already have an unlimited metro card, yes? And $20-$40 is just one way, yes? And you do this every weekend, yes?).
So you, the wealthy dude, have the law on your side. Apparently, your need for low-cost on-demand, luxury transportation trumps the basic human right to free will. Apparently, mostly white, wealthy people need to be protected from being discriminated against by mostly brown, poor people. Apparently, when a laborer refuses to take on dangerous work or insufficiently compensated work ^, we must bring in the government guns and show him who's boss.
(^) It's always money or personal safety. Discrimination has nothing to do with it and I find it rather humorous that cab takers project their own racist attitudes onto cab drivers, seeing as I don't recall a while cabbie once during my 15 years in NYC.