Staging and prognosis for primary liver cancer