Added support for pattern matching against OIDs