Supply and demand was implicit in that you were able to hail a cab.
If it's a rainy night and no cabs are available, the effective price of a cab is infinity dollars. Uber's surge pricing reduces infinity to a mere 1.5-5x.
I can appreciate your interest in the anonymity provided by cash, but study some economics :P.
Try these two EconTalk episodes:
- http://www.econtalk.org/archives/2006/04/ticket_scalping.htm... - http://www.econtalk.org/archives/2007/01/munger_on_price_1.h...