add a terms spec.
add hp_string_to_symbol and hp_symbol_to_string.