maybe something like `function:not([id]) > id[name=require], function[id] > *:first-child ~ id[name=require]` (the first side of the comma catches for anonymous functions, the right hand catches for named functions)