As for Miley having a lesser maturity level at 16 than 18...it's all an individual thing. Emotional maturity level and experience, like physical maturity, varies greatly from one person to another, and is therefore relative and not universally applicable based on a number. Some people change in great ways emotionally over a two year period, others do not. Some people are very mature and worldly at age 10, others still don't have these qualities to any great extent even at age 35. Many others are somewhere in between full maturity and total immaturity well past the age of 18.
When they say that age is just a number, in actuality that is indeed the case. However, the law doesn't recognize this obvious fact, and our culture likes to say that it does, but it actually doesn't; it largely follows what the law says with its attitudes and stereotypes. If that wasn't the case, then our culture wouldn't put such a heavy emphasis on age 18, which has such a near-divine weight in our culture due to its major legal significance to us.