From what I have read, the revival of kilts wearing and highland dress had little to do with 19th century (and it happened in the early not late part of the century) Scottish nationalism, than with the rise of a newly affluent Scots middle class which was the product of the industrial revolution. These urbanized folk mythologized their impoverished rural antecedents with all sorts of things never seen before, such as clan tartans.