Unions and public positions are not the only ones with public salary info. As I stated in an earlier comment:
Airlines pay just like that (as do taxi companies and most other parts of the transportation industry). Guess what you all have in common? Zero agency. So when you take a job where the ideal output of your labor is 100% deterministic, then it makes sense for your pay to reflect that.