Add functions to determine if a property is the same for patterns.