use_[local|use]names: adapt for parser vs tree context