def const_name
      components = title.gsub(/\W/,' ').split.collect {|word| word.strip.upcase }
      if @derived_from
        components << HQMF::Counter.instance.next
      end
      components.join '_'
    end
def const_name
      components = title.gsub(/\W/,' ').split.collect {|word| word.strip.upcase }
      if @derived_from
        components << HQMF::Counter.instance.next
      end
      components.join '_'
    end
Get a JS friendly constant name for this measure attribute