All my node titles in a certain content type are unique,

If I already know the title of the node, how do I query it and return the node id?