By convention H refers to the primary and X the secondary H1 is current into the primary and X1 is current out of the secondary
Conversely when primary and secondary turns are wound in the opposite direction the secondary current flows in the opposite direction to the primary current
The transformer is said to have subtractive polarity