resolves #436 move style to instance variable

- convenience methods to check/retrieve role and reftext attributes