code: public function guard($value, Field $field)
      {
          Assertion::isInstanceOf($value, UuidIdentifier::class, null, $field->getName());
          if ($field->hasClassName()) {
              Assertion::isInstanceOf($value, $field->getClassName(), null, $field->getName());
          }
      }
docs: {@inheritdoc}