Validate grid name