It is a valid argument for raises, especially early in your career. But at some point, you are no longer selling your personal value to your boss - you are competing with other programmers who are willing to give the same value for a lower salary.
To get past that point, you need to have specialized business knowledge so that outside programmers cannot compete with you.
The trick to getting very high salaries is to decrease the pool of competitors for work, by increasing specialized knowledge above and beyond your coding skills.
I have found that where I work, if I don't explicitly tell my manager(s) what I've been working on and spotlighting the important things I've gotten done, they simply won't know about it.
It gives them ammunition to "fight" for you, to justify raises etc...
Then head out to dinner or happy hour and enjoy your raise, or jump ship if the company laughs at you.
Isn't this how the labor market for programmers works? If not, why aren't we making this happen?