I'd compare us only superficially to capital-P
Professions like lawyers, architects, engineers and the like. There are no bar exams to get a license to practice programming in the industry; no liability -- it's really easy for people to misrepresent themselves and for companies to take advantage of us.
Comparing us to retail workers has some merit. We're not professions, have no collective representation, and can be easily replaced (despite current myths about how difficult it is to hire programmers there are hoards of new graduates and self-taught individuals making the leap from other careers and professions because of the money and cushy benefits -- most hiring processes seem to be designed to keep the majority of people out).