Simple custom attribute implementation for masking an input.