com·part·men·tal·ize
v.// to divide into sections or categories, to put something in a place that is separate from other things; in psychology,it is seen as a defense mechanism meant to allow conflicting ideas or emotions to coexist within the “ideal” self.