Updating attribute ignore logic and improving tag iteration

Feedback from peterbe.
Removing personal .gitignore rules.