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