Price discrimination is a way that companies can make more money by understanding how much different consumers will pay for the same good. Here's how it works.