Text this: Gendered patterns in the construction of physics identity from motivational factors