Get page title based on id