The actual reality is that your salary is not tied to your value, but to your negotiation skills (carried mostly by your leverage when you receive the offer)
But the actual cost of labor (your compensation) is dictated by market forces just like any other commodity. Why would anyone hire you at $100k/year if they have someone else, just as good as you, that they can hire at $50k/year?
Your ability to negotiate is tied to your leverage, which more often than not is competing offers (including your current job). That has absolutely nothing to do with value, other than the upper bound I mentioned above.