resolves #313 honor haml/slim/jade-like shorthand for id and role attributes