I was reading through Mariano Quirós's lecture notes titled "Finite Temperature Field Theory and Phase Transitions". In Sec. 1.2, the author is calculating the one-loop effective potential at $T=0$. On Page 8, he is doing the calculations when gauge bosons are in the loop, and works with a Lagrangian, $$\mathcal{L}=-\frac{1}{4}\mathrm{Tr}\,F^{\mu\nu}F_{\mu\nu}+\frac{1}{2}\mathrm{Tr}\,(D_\mu\phi_a)^\dagger (D^\mu\phi^a)+\cdots\tag{36}$$ where (as mentioned before in the notes), the $\phi_a$ are $N_s$ complex scalar fields. He then says:
The only vertex which contributes to one-loop is $$\mathcal{L}=\frac{1}{2}(M_{gb}^2)_{\alpha\beta}A_\mu^\alpha A^{\mu\beta}+\cdots\tag{39}$$ where $$(M_{gb}^2)_{\alpha\beta}(\phi_c)=g_\alpha g_\beta\mathrm{Tr}\,\left[(T^i_{\alpha\ell}\phi_i)^\dagger T^\ell_{\beta j}\phi^j\right]\tag{40}$$
where $\phi_c$ is the functional derivative of the connected generating functional wrt the source (ref. eqs. (6) and (15)). He then mentions:
... (ii) $T_\alpha$ are the generators of the Lie algebra of the gauge group in the representation of the $\phi$-fields and the trace in (40) is over indices of that representation.
My confusion: I do not quite follow the term "... in the representation of the $\phi$-fields..." Does the presence of the term $T^\ell_{\beta j}\phi^j$ imply that the $T_\alpha$ are expressed as $N_s\times N_s$ matrices? I am also unsure about whether $i$ and $\ell$ refer to the components of such a matrix.
Please let me know if I need to provide more specific information about my confusion.