When syncing a policy's policy_scope change, we need to account for the CSP namespace

When creating a policy for a framework that originated from a CSP Group, policies need to sync correctly and be attached to the framework just as they would for a framework owned locally by the namespace.

Edited by Jean van der Walt