Resolve identifier values recursively