How can I work out which pin is which in SPICE model
"P" is for primary. "S" is for secondary. "RS" is apparently for reset winding. This is a model for a transformer they used with the IC in their demo circuit. 

The models for the actual IC seem to be in some kind of encrypted form, so they'll only work with PSpice, not with LTSpice.