Making Sen’s capability approach operational: a random scale framework