code: function(api, id, key) {
    // get storage object
    var rval = _getStorageObject(api, id);
    if(rval !== null) {
      // return data at key
      rval = (key in rval) ? rval[key] : null;
    }
  
    return rval;
  }
docs: Gets an item from local storage.
  
  @param api the storage interface.
  @param id the storage ID to use.
  @param key the key for the item.
  
  @return the item.