/Engine/Source/Editor/KismetCompiler/Public/KismetCompilerMisc.h
Come up with a valid, unique (within the scope of NetNameMap) name based on an existing Net object and (optional) context. The resulting name is stable across multiple calls if given the same pointer.
[FString](API\Runtime\Core\Containers\FString) MakeValidName ( const [UEdGraphNode](API\Runtime\Engine\EdGraph\UEdGraphNode) * Net, const [FString](API\Runtime\Core\Containers\FString) & Context )