Add mask functionality to screen node attributes

We want to hide the declname and defname attributes from the param
nodes for the signature rendering. We can't use filters as they are
parsed as string attributes on the param node rather than child nodes.

So we introduce a masking concept that allows us to hide or change
particular attributes in a render pass without altering the actual
values of the parsed nodes themselves as we might need those values
intact for other rendering passes.