Retrieves the attribute by its name (non-constant version).
Pointer to the attribute at the given index.