Compartmenting

What I mean is the ability to separate different elements from a single entity and treat them individually if needed. For example, if your friend’s action offended you, by putting a “mental/psychological separation” between the offensive act and the person, you may find yourself easier to forgive him/her and move on.