index a single item with automatic ID generation