Hmm. My experience tells me that a lot of this depends on the details of the team, and that there isn't a right-for-everyone policy. My story: I worked for a company that paid a bit below market salaries, for the SF Bay Area. I was on a team with two more junior engineers. At one point one disclosed to me that they felt underpaid. That led to a salary discussion where I explained that the company habitually underpaid…
Most people I know in similar roles to mine act in a similar way. So I'm not so sure that most companies are really out there trying to underpay their employees. In terms of running the business, I want to pay people fairly for a good day's work.