scoped data memory enhancements

do not replicate same name same value attr if already visible
pop current empty scope off of stack when adding new one