def METHOD_NAME(self):
    """See :meth:`pybamm.Symbol.set_id`"""
    self._id = hash(
        (self.__class__, self.name, self.diff_variable)
        + tuple([child.id for child in self.children])
        + tuple(self.domain)
    )