Move function to get current site mod id to the Site class