Symbol database: function lookup when :: is used. Ticket #4494
Don't use Token::Match() for simple string comparison
Fixed #4505