query to read identifiers