Decide between a local asset id and a remote URI.
startsWith(
function resolveSource(input) { // TODO }