Support for the Profile Query appendages

puts the necessary sub type ids from selected settings at the end of the
profile portion