Small optimization for __sm_page_name() method.