move seqname-to-seqid lookup into a separate cache function, instead of doing it in SQL, b/c I couldn't figure out how to craft the proper SELECT to use indices in a 3-way join involving rtrees...