Cast current site id to an integer.