construct_signature function

Construct a function's signature