Framework for characterizing mesoscale organisation of shallow convection