How to change “attachment_id” in attachment permarlink?

How to change “attachment_id” in attachment permarlink?