Gets the identified attachment as an entity, if the attachment with that identifier exists.
Attachment entity, or null if no attachment exists for id.