SOS-1475
LPS-34363 Refactoring - the getClassName() and getClassPK() are not needed because as things are now, we can always use the ones in the activity.
LPS-34363 Add missing null checks and rearranged to avoid unnecessary processing
LPS-34363 Apply to activity interpreters
LPS-34363 SF