Compiler: Added low_program_from_svalue(). This allows for passing the parent object and identifier when needed. This is needed for [bug 6573 (#6573)].