public function name($name) { $this->name = $name; // Also relink the label to the new name $this->label($name); return $this; }