Automatically number a deal with any given title

Automatically number a deal with any given title

I'd like to write a simple function to automatically add the following string:
[D#]
before any title given to a Deal.

I.E.:
Giving to a Deal the title: Test
Will result in the following title: [D1] Test

Where D1 is the letter and number given automatically by the Autonumbering field. 

Also, is it possible to hide the autonumbering field?

Please let me know,
Kindly regards
Marco Carolli