Use default context to get attribute string if there is one