Ah. I found a solution for creating the list of Specialties. Now, to figure out how to build that table up...
Code:
var skillText as string
var specIds as string
specIds = hero.tagids[Specialty.?, " | "]
debug "Hero Specialty tags: " & specIds
foreach thing in Specialty where specIds
debug "Specialty for summary: " & eachthing.field[spcTabName].text
skillText = skillText & eachthing.field[spcTabName].text & "{br}"
nexteach
@text = skillText