Convert attribute name to symbol