Added fmid allocation functions to the indexing backend