function to return site id