Text this: On quasi-ideals and bi-ideals in ternary semirings