Fork/Customization from django-cache-machine, bulk_inserts return ids.