AliasType plugins

%s/$node_name/$node_type_name/g ?
phpstorm will do it for you if you right click, refactor, rename