Generalized id of function definition, message exchange, member access,
and member assignment to also include equality operators.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>