Here we're getting the name of the hook. The comparable method we use for getting function names ( getShortName() ) returns the function node's 'name' attribute, which isn't single-quote delimited.