Herbie Hancock tells young musicians in Sydney jazz masterclass to ‘be yourself’