Revert "Add get_names_of_scope option to evaluate.get_names_of_scope"

This reverts commit 154662ea273a17f00186546bdf9d75833553d307.
Use the first item returned by get_names_of_scope