during the time of south song dynasty the administration of southwesten part is Dali(in Chinese,大理国), not Nanzhao. Nanzhao is the name of its predecessor which existed during the time of Tang dynasty. And Dali's capital is also named Dali.
see http://zh.wikipedia.org/wiki/大理国