# File lib/map.rb, line 644 def id return self[:id] if has_key?(:id) return self[:_id] if has_key?(:_id) raise NoMethodError end