Revert "compare resource_id in Event.__eq__()"

This reverts commit d7b85a4e5551a9092d6794a0bb4b4e61b668f3e9.