Identifying cosmetic forms and crystalline phases from ternary systems