Historically, your salary has been a closely guarded secret but younger generations are changing that - for the better.