Returns the attachment table index for the attachment name
Example:
attachmentIndex = GetAttachmentTableIndex( "reflex" )
* = mandatory