resolve issue #97, add support for name=value@ attribute syntax

- also change default attribute value from 1 to empty string in cli options