Do you mean rename or to set the ID of the resource? If so, how do you do that? Because this is what I see in the "paste" account for these resource-less now queries:
Hey @Ori! Thanks for reaching out. Generally speaking, the best practices for migrating from cloud to an on-prem deployment are laid out here.
To answer your original question, though, it should only be necessary that the resource in your destination has the same name and is of the same type. I have seen issues with UUID mapping in the past, but I'd start by double checking the resource names.
All that said, it sounds like you'll be able to go the source control route before too long! Once you get to that point don't hesitate to reach out here or join office hours if you have any questions.