Complex sentence: Rosenberg viewed the self as a part of two elements, one being identity, which represents cognitive variables; the being self-esteem, which is made of affective variables.
Split into simpler sentences: Rosenberg viewed the self as a part of two elements. The other part of the self was self-esteem which is made of affective variables.