Use attribute to store which module each object belongs to instead of using remoteId.