Teaching salaries are low relative to education level because lots of people are socially pushed toward teaching (obvious example: many people's mentors are teachers). Programming doesn't have this dynamic.
I'm not opposed to unionization - I joined the new grad student union when I was getting my PhD. But I think you should focus on programmers' specific problems, like long hours and low vacation time, not on problems from other jobs which have low relevance.