Create an object key for storage.

def make_key(table_name, objid):
    """Create an object key for storage."""
    key = datastore.Key()
    path = key.path_element.add()
    path.kind = table_name
    path.name = str(objid)
    return key