Don't invalidate self.id if there is no self.id