This could not be less true and I really wish people would stop spreading this idea, because it's costing other people lots of money. In fact, the Venn diagram mapping "software celebrities" like Patrick and expert negotiators has not much overlap at all. You've never heard of some of the best-compensated developers I know (and they don't work on "celebrity" projects, either); meanwhile, I can think of multiple "celebrities" who have gotten extremely raw deals --- one, for instance, was brought in to lead engineering & R&D at a security company working against organized crime, and didn't even get any equity.
Patrick is right: compensation is much more about negotiating skill than it is about reputation or (especially) notoriety, holding everything else equal.