Defining teacher quality