Fix validating ID property.