def mk_size(field):
name = field.type_id<EOL>if name == "<STR_LIT:string>" and field.options.get('<STR_LIT:size>', None):<EOL><INDENT>return "<STR_LIT>" % (field.identifier, field.options.get('<STR_LIT:size>').value)<EOL><DEDENT>elif name == "<STR_LIT:string>":<EOL><INDENT>return "<STR_LIT>" % field.identifier<EOL><DEDENT>elif name == "<STR_LIT>" and field.options.get('<STR_LIT:size>', None):<EOL><INDENT>return "<STR_LIT>" % (field.identifier, field.options.get('<STR_LIT:size>').value)<EOL><DEDENT>elif name == "<STR_LIT>":<EOL><INDENT>return "<STR_LIT>" % field.identifier<EOL><DEDENT>else:<EOL><INDENT>return '<STR_LIT>' % field.identifier<EOL><DEDENT>
Builds an identifier for a container type.