setcolnames_byname function

Sets column names