Function to find symbols in global scope / check for duplicates added.