Proper layer description and standard representation of inorganic layered structure types