#!/usr/bin/env ruby name = "myValue" name.to_sym # => ":myValue" :myValue.id2name # => "myValue" name == :myValue.id2name # => true