Short-cut for attribute assignment