Dimensions of attractors