return correct default value for enumerized attribute

when using `default_scope` with generated scope
closes #58