Well I eventually Worked out a way myself.
With a pageid this will give you the page name surrounded with the link to the page.
$pagename = strstr((wp_list_pages("include=".$pageid."&title_li=&echo=0")), '<a');
$pagename = substr($pagename, 0, (strlen($pagename) - 6));
echo $pagename;