Now warning about duplicate ids.
Added test cases:
* 270-swift-arraysemanticcall-hoistorcopy.swift
* 271-swift-irgen-irgenfunction-emittypemetadataref.swift