Let's go with "null" here as the default value of $city_id (for the sake of consistency within a class) and add similar check as in newFromText().