added ident attribute
added dirname attribute
Merge pull request #3 from hobbyquaker/master

added ident attribute