non-alphanumerics in ids for each p in variable list is replaced with underscore, allowing selections in d3. carousel functional with transformations