Dimensionality of collective pinning in 2H-NbSe2 single crystals