getMapping function

extract variable name from mapping, aes