Changed the query to be inserted into identifiers table