Intended as a fix for https://developer.blender.org/T49944
This patch takes @Jeroen Bakker (jbakker) 's suggestion to switch the anti-aliasing on an ID mask node to use the pre-existing SMAA operations.
using the blend file attached to the issue, we get the following:
Before:
After:
I have run and confirmed the automated tests still pass.

