resolve identifiers and log them