Assessing professionalism: theory and practice