provides Hash based attribute accessor macro.