Validate entered heuristic name.