"Does the executor fill out his or her name and SSN number on the 1310"
The executor (personal representative) since it must be a natural person, not an entity.