get faculty page id function