public override bool Equals(object obj) { var id = obj as ident; if (id == null) return false; return name.Equals(id.name); }