Rename If Extension

See the FAQs for that:
/t/967/1

The 3rd example is how to append a string to a field. Instead of the example "xyz" use the field variable, probably %_tag% and/or %_bitspersample%.

If you enclose the %_bitspersample% in square brackets, [%_bitspersample%] it gets treated like an "if" condition.