scope's name parsing now properly handles templates.