Code:
If downloadurl contains: twitter.com
Then set Filename: <jd:prop:username> <jd:orgfilename>
It is working, but seems to support only some twitter url formats. If the username is available in urls, you can create a packagizer rule to pick it from there and add it to the filename (without using this placeholder).