Added an optional second argument to Program.defined(). When passed it will give you the filename and line number a specific identifier in a program is defined on. This is very useful for profiling output, as an example.