Get transform options

@inner
@param {Object} options the transformation type options
@param {Object} state the transformation plugin state
@return {Object}
function getTransformOptions(options, state) {
    let transformOpts = Object.assign({}, options, state.opts);
    transformOpts.baseId = options.extensionName
        ? getFrameworkExtendId(transformOpts.appType, options.extensionName, true)
        : getBaseId(transformOpts.appType, transformOpts.baseName);
    return transformOpts;
}