Makes the match method in PlayingCard safer using introspection.