Distinguish primitive actor equivalence from pattern matching