/Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetIdentifier.h
Returns primary asset id for this identifier, if valid
[FPrimaryAssetId](API\Runtime\CoreUObject\UObject\FPrimaryAssetId) GetPrimaryAssetId() const