CQRS is all about fire-and-forget, and since GUIDs are very reliable (low risk of collision) there is no problem sending in a GUID that you generate your self.
The steps would basically be:
- Create your command
- Generate and assign your identity (GUID) to it
- Fire the command
- Return the identity earlier generated
Read more about GUIDs on Wikipedia