IKASAN-749 - override equals/hashcode for GenericFlowEvent based on identifier and optional relatedIdentifier