GetSequenceFromFunc extracts a sequence name from a FuncExpr if the function takes a sequence name as an arg. Returns the name of the sequence or nil if no sequence was found.
GetUsedSequenceNames returns the name of the sequence passed to a call to sequence function in the given expression or nil if no sequence names are found. e.g. nextval('foo') => "foo"; <some other expression> => nil