Attribute shorthand functions: class, id