find signature for a declaration