Converted subject attribute extraction to use System.ComponentModel

This way, the subject attribute can be added dynamically.