Fix IdArray::destroy() not updating internal tables and add begin()/end() iterators
Update documentation