Added string casting to name validation
Added string casting to name validation