Allocate integer IDs for the partially populated keys given as argument.
keys
The returned Keys will be fully populated with the allocated IDs.
Future<List<Key>> allocateIds(List<Key> keys);