Having one basing tag would be the best solution. For example, players who own Obsidian gang tag even though they are not wearing it, wont be able to get rec invitation to Lightsout which holding another base. If a player gets rec to a gang which get the base, they will get aumatically kicked.

This is pretty hard to be scripted

This idea can actually avoid gangs helping each other.