Add selection on attribute
Merge pull request #19 from ChrisBeaumont/master

Support for selection by attribute