Use imenu primary from imenu--index-alist.