Like Churchill said about Russia, the key to understanding Iranian behavior is national interest. When in conflict, national interest and national survival trump ideology. Iran has not survived for fifteen hundred years by risking national survival for the benefit of Sunnis.
You are mistaking Persia for Iran.
Not even close.