get_distribution function

Get the distribution of a <dist_spec>