In social psychology whats the term that describes this scenario: someone treats you in a certain way then you respond in a certain way consistent with how you were treated. however, that is the way you wanted to act.