Making attributes method for SQL indices public.
All indices now respond to the attributes method.
Attribute/Foreign Key matching gets its own class.