Idiom
with your teacher's hat onwith (your) [teacher's/lawyer's etc.] hat on
be wearing (your) [teacher's/lawyer's etc.] hat - to be acting as you do when you are working as a teacher, lawyer etc., which may be different from the way you act in other situations.I'd like to talk to you with your lawyer's hat on.