We consider the problems of finding optimal identifying codes, (open) locating-dominating sets and resolving sets of an interval or a permutation graph. In these problems, one asks to find a subset of vertices, normally called a solution set, using which all vertices of the graph are distinguished. The identification can be done by considering the neighborhood within the solution set, or by employing the distances to the solution vertices. Normally the goal is to minimize the size of the solution set then. Here we study the case of interval graphs, unit interval graphs, (bipartite) permutation graphs and cographs. For these classes of graphs we give tight lower bounds for the size of such solution sets depending on the order of the input graph. While such lower bounds for the general class of graphs are in logarithmic order, the improved bounds in these special classes are of the order of either quadratic root or linear in terms of number of vertices. Moreover, the results for cographs lead to linear-time algorithms to solve the considered problems on inputs that are cographs. * u, v if it (totally) dominates exactly one of them. A set S (totally) separates the vertices of a set X if all pairs of X are (totally) separated by a vertex of S. Whenever it is clear from the context, we will only say "separate" and omit the word "totally". We have the three key definitions, that merge the concepts of (total) domination and (total) separation:Definition 1 (Slater [33,34]). A set S of vertices of a graph G is a locating-dominating set if it is a dominating set and it separates the vertices of V (G) \ S. The smallest size of a locating-dominating set of G is the location-domination number of G, denoted γ LD (G). Without the domination constraint, this concept has also been used under the name distinguishing set in [2] and sieve in [28].Definition 2 (Karpovsky, Chakrabarty and Levitin [27]). A set S of vertices of a graph G is an identifying code if it is a dominating set and it separates all vertices of V (G). The smallest size of an identifying code of G is the identifying code number of G, denoted γ ID (G). Definition 3 (Seo and Slater [31]). A set S of vertices of a graph G is an open locating-dominating set if it is a total dominating set and it totally separates all vertices of V (G). The smallest size of an open locating-dominating set of G is the open location-domination number of G, denoted γ OLD (G). This concept has also been called identifying open code in [25]. Separation could also be done using distances from the members of the solution set. Let d(x, u) denote the distance between two vertices x and u. Definition 4 (Harary and Melter [24], Slater [32]). A set B of vertices of a graph G is a resolving set if for each pair u, v of distinct vertices, there is a vertex x of B with d(x, u) = d(x, v). 1 The smallest size of a resolving set of G is the metric dimension of G, denoted dim(G).