public boolean matches(Function function,String id){
  return mFunction == function && mID != null && id != null && id.matches(mID.replace("*",".?"));
}

public boolean matches ( Function function , String id ) { return mFunction == function && mID != null && id != null && id . matches ( mID . replace ( "*" , ".?" ) ) ; }
indicates if the function and id combination match this alias id
