get attachmentid