How would you hyphenate a 4 word phrase?
Solution 1:
You could rephrase
"non-group-identity-affiliated-topics"
as
"topics that are not affiliated with group identity".
You could rephrase
"non-group-identity-affiliated-topics"
as
"topics that are not affiliated with group identity".