make names from quoted strings in R