Atomistic cluster alignment method for local order mining in liquids and glasses