If the component id is NOT a relative path from the parent document's baseURI, you should listen for the monocle:component:baseuri event and change the value of evt.m.cmptURI.
monocle:component:baseuri
evt.m.cmptURI