private function getId($options)
    {
        $id = '';
        if (!isset($options['id'])) {
            $id = $options['name'];
        } else {
            $id = $options['id'];
        }

        return $id;
    }
private function getId($options)
    {
        $id = '';
        if (!isset($options['id'])) {
            $id = $options['name'];
        } else {
            $id = $options['id'];
        }

        return $id;
    }
private function getId ( $ options ) { $ id = '' ; if ( ! isset ( $ options [ 'id' ] ) ) { $ id = $ options [ 'name' ] ; } else { $ id = $ options [ 'id' ] ; } return $ id ; }
Gets an input's id, or sets it if not supplied.

@param array $options - The input's options

@deprecated

@return string
Gets an input s id or sets it if not supplied .