Create an attributes array

Created an array of attribute symbols, to be used for attribute
assignment and extraction, as an attempt to reduce code complexity.