If the __PRETTY_FUNCTION__ macro yields {anonymous} as the class name, use the method name as the tag.