fix for stored functions in postgres

postgres seems to require identifier escaping for function names.