operator == method
Symbols are equal to other symbols that correspond to the same member name.
Qualified member names, like #foo.bar
are equal only if they have the
same identifiers before the same final member name.
Implementation
bool operator ==(other);