adds attribute generator option to set the name of the getter method

+ fixes #37