def register_id(self, id, module):
        """Associate the given id with the given project module."""
        assert isinstance(id, basestring)
        assert isinstance(module, basestring)
        self.id2module[id] = module