GTNWSRP-369: InstanceContext wasn't providing an identifying enough id to use as a portlet instance key so used WindowContext.getId() instead. This should solve the issue of not being able to properly scope portlet session attributes.