HOMOTHETIC CHANGES OF VARIABLES AND THE UNIQUE EXTENSION PROBLEM IN CALCULUS OF VARIATIONS