Mac OS provides two routines to simplify searching for name entries or properties that have particular modifiers.