Symbol database: Improved function lookup for foo.f(). Ticket #4494