Make sequence ID extraction from fasta header more robust so that it works with more complex headers, too.