To rename an attachment, select one and click with the right mouse button "Rename selected attachment" from the context menu.
You can also rename an attachment, if you click on the edit icon.