small api change to naming.rb to fix conversion to string for gsub