small refactor of fixture name inference