indexing with automatic ID generation

I wanted to be able to use the automatically generated IDs without having to use bulk import.