Add a `dimensions` attribute to `DynamicArrayVariable`
Do not generate a "_ptr" alias for multidimensional dynamic arrays