An intrinsic measure for submanifolds in stratified groups