Same as any identity. You need to meet two conditions. One, you have to consider yourself part of that group. Two, other members of that group must consider you part of it. If either condition isn't met, you're not part of it.
I know English isn't your first language, but come on. Or did you purposely skip this?
You clearly say if EITHER condition isn't met. Did you purposely skip this?