# File lib/cgikit/session.rb, line 145
    def component_id( component )
      if @caches.value?(component) then
        @caches.key(component)
      elsif @permanent_caches.value?(component) then
        @permanent_caches.index(component)
      else
        nil
      end
    end