A boundary optimal control identification problem