Things could get awkward with a president whose name is derived from that of the fourth caliph, Imam Ali.