Checks whether a given value references an identifier and then
returns the qualified identifier (interface where the value is
defined in) or simply the value in case of an integer literal.
Generate source code file containing all constants defined in the
x-file as well as all implicitely defined constants, like program,
version and procedure numbers, etc.