Handle mixed qualified and unqualified symbols