Gets rid of unneeded nId attribute on vector layers.