Given a cell class create an index representation. If no source is specified no index will be generated.
# S3 method for list
index(object, id = "tangram", key.len = 4, ...)
A list of strings containing key, source and value
cell; The cell for indexing
character; an additional specifier for the object key
numeric; length of key to generate
additional arguments to renderer. Unused