This can be done using the S93 tag:

Standard  format would look something like this:
[[93:rep_type:output_mode:format_options]]

An example one could use in a subject line would likely look like this:
[[S93:State Senator:raw:name]]

Additional documentation with all available parameters and options can be found here