There is no proper market without all market participants having proper information, and salary information about your peers is typically very spotty.
Evidence: I might be just as productive as a colleague working on the same project in the same company with comparable qualifications, and I would never know if they made 10% more (or less) than me.