database: added function to get species index for a given game