Turns out you answered your own question in the sentence after you asked it.
You don't ever want your pay tied to seniority. You want it based on the value you can deliver. That way, you with your 10 years of experience and proven ability to ship good products get to make twice as much as Senior Dev John with 10 years experience maintaining the internal CRUD app.