replaced the validate_external_id validation with the built in validate_slug

fixes SPOT-906

it was requested to be changed to become a model method. but i don't
think that validation methods can also be model methods. i think if
a method is going to be used for validation, it has to be outside of
the class