choosing css class using if

Hi, I wish to know what variable store the page_id such that I can choose the class=“active” accordingly. Any idea…

The class become active when the faq page is selected but i have many pages so all will be active as one of them is clicked

  • {$lang.faq}
  • The variable is $page.page_id