Different environments mean different entity ID's, so what Monaco does (when collecting parameters from an environment) is basicaly note down that for this specific parameter(s), and entity needs to be created first or you hav to supply an entity id?
Other questing, why is it so difficult to create an entity with the same id as the source?
I don't know if I understood your question correctly, but in general, in the YAML file you assign a rule to a component (it doesn't have to be this way always). For example, the scope can be a component, and the component can be a given service. You can set the whole environment as a scope instead of one service.