Add `Branch.validate_property_name`