Symbol database: Improved function lookup (a.b.f()). Ticket: #4494