i don't know the details of how to do it. but i know you may use `hook_menu_link_alter` or override the primary links function `theme_links` in template.php to get that.