The wider regional conflict between Riyadh and Tehran has influenced much of the machinations of the Middle East.