public bool IsNameWellFormed() { return HasName() && ((HasPrefix() && HasColon) || (!HasPrefix() && !HasColon)); }