LPS-48245 Pass portlet id in order to retrieve the correct interpreter
LPS-48245 Fix compile error
LPS-48245 Consolidate logic
LPS-48245 Source formatting - move left
LPS-48245 Sort as used, and go for consistency