Make numbers from literature keep their reference

Julia is capable of defining new numbers, which can be used in conjunction with regular ones. To keep track of the source of the number(some material parameter) it should be possible to keep the DOI associated with it during the calculation. Do you think this would be useful?