get_alignment_ids function

Get the alignment IDs from one or more files.