Add logic so that replacement styles are matched to the overall message
style when the --attribute or --background options have been set.